Extracting words between delimiters [] in python
Posted
by kris
on Stack Overflow
See other posts from Stack Overflow
or by kris
Published on 2010-05-17T20:23:45Z
Indexed on
2010/05/17
20:30 UTC
Read the original article
Hit count: 504
python
From the below string, I want to extract the words between delimters [ ]
like 'Service Current','Service','9991','1.22'
:
str='mysrv events Generating Event Name [Service Current], Category [Service] Test [9991] Value [1.22]'
How can I extract the same in python?
Thanks in advance Kris
© Stack Overflow or respective owner